package com.chatroom.enity;

/**
 * @author 计算机系 ITAEM 纱雾休比我老婆
 * @Description 浏览器发送给服务器的websocket数据
 * @date 2022/8/9 1:16
 */
public class Message {
    private String toName;
    private String message;

    public Message() {
    }

    public Message(String toName, String message) {
        this.toName = toName;
        this.message = message;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
